package com.uphone.kingmall.bean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/16
 *     desc   :
 * </pre>
 */
public class AdvertsBean {

    /**
     * msg : ok
     * ads : [{"adImg":"http://localhost:8082/upload/images/advert/7b73df3931604d31b90e23c4fa150ccb.jpg","adNm":"测试","adId":1,"addesc":"","goodsId":0}]
     * code : 0
     */

    private String msg;
    private int code;
    private List<AdsBean> ads;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<AdsBean> getAds() {
        return ads;
    }

    public void setAds(List<AdsBean> ads) {
        this.ads = ads;
    }

    public static class AdsBean {
        /**
         * adImg : http://localhost:8082/upload/images/advert/7b73df3931604d31b90e23c4fa150ccb.jpg
         * adNm : 测试
         * adId : 1
         * addesc :
         * goodsId : 0
         */

        private String adImg;
        private String adNm;
        private int adId;
        private String addesc;
        private int goodsId;

        public String getAdImg() {
            return adImg;
        }

        public void setAdImg(String adImg) {
            this.adImg = adImg;
        }

        public String getAdNm() {
            return adNm;
        }

        public void setAdNm(String adNm) {
            this.adNm = adNm;
        }

        public int getAdId() {
            return adId;
        }

        public void setAdId(int adId) {
            this.adId = adId;
        }

        public String getAddesc() {
            return addesc;
        }

        public void setAddesc(String addesc) {
            this.addesc = addesc;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }
    }
}
